dnd: Add GdkDrop base class for GdkDragContext
authorBenjamin Otte <otte@redhat.com>
Mon, 30 Apr 2018 12:10:44 +0000 (14:10 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 18 Jun 2018 21:49:19 +0000 (23:49 +0200)
commitf247d268d4aa02c945ed7297080b685d9df79464
tree879b3e327a739098be808d0190a3c86b29e7e2ad
parent841a29837e5929bd07a45081e5eec43c1bc910f5
dnd: Add GdkDrop base class for GdkDragContext

The ultimate goal of this patch series is to split GdkDragContext into
GdkDrop + GdkDrag classes for the destination and source side of a dnd
operation.

The refactoring is meant to work something like this:
1. Introduce GdkDrop as a base class
2. Make all drop related code (like GdkEvent) use GdkDrop instead of
   GdkDragContext. Move/duplicate APIs to allow that.
3. Port all drop contexts in the backends from GdkDragContext to GdkDrop
4. Delete all APIs in GdkDragContext that aren't needed anymore.
5. Make GdkDragContext no longer a GdkDrop subclass
6. Rename GdkDragContext to GdkDrag
gdk/gdk.h
gdk/gdkdnd.c
gdk/gdkdndprivate.h
gdk/gdkdrop.c [new file with mode: 0644]
gdk/gdkdrop.h [new file with mode: 0644]
gdk/gdkdropprivate.h [new file with mode: 0644]
gdk/gdktypes.h
gdk/meson.build
testsuite/gtk/notify.c
testsuite/gtk/objects-finalize.c